﻿//using Magicodes.ExporterAndImporter.Core;
//using Magicodes.ExporterAndImporter.Excel;
using MiniExcelLibs.Attributes;

namespace ExcelDemo
{
    //[ExcelImporter(IsLabelingError = true)]
    public class ImportDto
    {
        //[ImporterHeader(Name = "手机号")]
        [ExcelColumnName("手机号")]
        public string Phone { get; set; } = null!;

        //[ImporterHeader(Name = "姓名")]
        [ExcelColumnName("姓名")]
        public string Name { get; set; } = null!;

        //[ImporterHeader(Name = "所属企业")]
        [ExcelColumnName("所属企业")]
        public string Company { get; set; } = null!;

        //[ImporterHeader(Name = "证书编号")]
        [ExcelColumnName("证书编号")]
        public string Code { get; set; } = null!;

        //[ImporterHeader(Name = "发证日期")]
        [ExcelColumnName("发证日期")]
        public DateTime? PostDate { get; set; } = null!;
    }
}
